package com.xpec.c4.db.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.xpec.c4.db.model.basic.BasicGameModel;

/**
 * 玩家保留機台座位資料庫
 * @author TW15012
 *
 */

@Entity
@org.hibernate.annotations.Entity(dynamicInsert=true,dynamicUpdate=true)
@Table(name = "player_keepseat" , 
uniqueConstraints = {
		@UniqueConstraint(columnNames = { "guid" })
}
)
public class PlayerKeepSeatModel extends BasicGameModel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4413351986310621806L;
	
	/**玩家流水序號**/
	private int playerNum;

	/**player guid**/
	private String guid;
	
	/**保留機台txt**/
	private String content;
	
	/**更新時間**/
	private long modifytime;
	
	/**創建時間**/
	private long createtime;
	
	public int getPlayerNum() {
		return playerNum;
	}

	public void setPlayerNum(int playerNum) {
		this.playerNum = playerNum;
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	@Column(name="content"  , columnDefinition=" varchar(1000) default \"\" ")
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public long getModifytime() {
		return modifytime;
	}

	public void setModifytime(long modify_time) {
		this.modifytime = modify_time;
	}

	public long getCreatetime() {
		return createtime;
	}

	public void setCreatetime(long create_time) {
		this.createtime = create_time;
	}
	
	 
}
